package kr.hkit.powerjava.chapter06;

import java.util.Scanner;

public class WhileEx1 {
	public static void main(String[] args) {

		int n;
		int i = 1;
		System.out.print("구구단 중에서 출력하고싶은 단을 입력하시오:");
		Scanner in = new Scanner(System.in);
		n = in.nextInt();
		while (i <= 9) {
			System.out.println(n + "*" + i + "=" + n * i);
			i++;

		}
	}

}
